package com.util;

import java.util.Collection;
import java.util.Map;

public class TextUtil {
	public static boolean isValidate(String content) {
		return content != null && !"".equals(content.trim());
	}

	public static boolean isValidate(Collection<?> list) {
		return list != null && list.size() > 0;
	}

	public static boolean isValidate(Map<?, ?> map) {
		return map != null && map.size() > 0;
	}
}
